using Coldairarrow.Entity;
using Coldairarrow.Entity.Base_Manage;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base_Manage
{
  public interface IUserSyncBusiness
  {
        Task AddDataAsync(UserSyncInputDTO input);
        Task UpdateDataAsync(UserSyncInputDTO input);
        Task DeleteDataAsync(string id);
        bool CheckExists(string id);
  }

    [Map(typeof(Base_User))]
    public class UserSyncInputDTO : Base_User
    {
    /// <summary>
    /// 是否超级管理员
    /// </summary>
    public bool IsAdministrator { get; set; }
  }
}